<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionEmpleado.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateTblconceptosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            
            <h:form>
                <p:panel id="panel" styleClass="panelCabeza" header="#{bundle.CreateTblconceptosTitle}">
                <p:messages id="msgs"/>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_codConcepto}" for="codConcepto" />
                    <p:inputText id="codConcepto" value="#{tblconceptosController.selected.codConcepto}" title="#{bundle.CreateTblconceptosTitle_codConcepto}" required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_codConcepto}"/>
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_tipoConcepto}" for="tipoConcepto" />
                    <p:inputText id="tipoConcepto" value="#{tblconceptosController.selected.tipoConcepto}" title="#{bundle.CreateTblconceptosTitle_tipoConcepto}" required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_tipoConcepto}"/>
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_nomConcepto}" for="nomConcepto" />
                    <p:inputText id="nomConcepto" value="#{tblconceptosController.selected.nomConcepto}" title="#{bundle.CreateTblconceptosTitle_nomConcepto}" required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_nomConcepto}"/>
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_formConcepto}" for="formConcepto" />
                    <p:inputText id="formConcepto" value="#{tblconceptosController.selected.formConcepto}" title="#{bundle.CreateTblconceptosTitle_formConcepto}" required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_formConcepto}"/>
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_descontarConcepto}" for="descontarConcepto" />
                    <p:inputText id="descontarConcepto" value="#{tblconceptosController.selected.descontarConcepto}" title="#{bundle.CreateTblconceptosTitle_descontarConcepto}" required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_descontarConcepto}"/>
                    <h:outputLabel value="#{bundle.CreateTblconceptosLabel_tbltipoconceptos}" for="tbltipoconceptos" />
                    <p:selectOneMenu id="tbltipoconceptos" value="#{tblconceptosController.selected.tbltipoconceptos}"  required="true" requiredMessage="#{bundle.CreateTblconceptosRequiredMessage_tbltipoconceptos}">
                        <f:selectItems value="#{tbltipoconceptosController.itemsAvailableSelectOne}"/>
                    </p:selectOneMenu>
                  
                </h:panelGrid>
               
                <p:commandButton action="#{tblconceptosController.create}" update="panel" value="#{bundle.CreateTblconceptosSaveLink}" />
                
                <p:commandButton action="#{tblconceptosController.prepareList}" value="#{bundle.CreateTblconceptosShowAllLink}" immediate="true"/>
                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
